<template>
  <div id="app">
  	<router-view></router-view>
  </div>
</template>
<script type="text/javascript">
	export default{
		mounted(){
			window.onbeforeunload=function(e){
				var remember = localStorage.getItem('success')=='false'?false:true;    
				if(!remember){
					localStorage.clear()
				}
			}
		}
	}
</script>
<style lang="scss">
#app {
		
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
	  }

</style>
